package com.george.es.book.pojo.entity;

import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author GeorgeChan 2019/8/15 9:33
 * @version 1.0
 * @since jdk1.8
 */
@Data
public final class EsEntity<T> {
    private String id;
    private T data;

    public EsEntity() {
    }

    public EsEntity(String id, T data) {
        this.id = id;
        this.data = data;
    }
}
